package com.dementors.model;

import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;

/**
 * ***********************
 * author:raochen
 * time:2015/12/1.
 * name:特卖童装的类
 */
public class Dress {

    @SerializedName("main_img_heigth")
    public int main_img_heigth;
    @SerializedName("main_img_width")
    public int main_img_width;
    @SerializedName("page")
    public int page;
    @SerializedName("count")
    public int count;
    @SerializedName("martshows")
    public ArrayList<DressShow> martshows;
    @SerializedName("page_size")
    public int page_size;
    @SerializedName("tag")
    public String tag;

    public static class DressShow {
        @SerializedName("bid")
        public int bid;
        @SerializedName("event_id")
        public int event_id;
        @SerializedName("brand")
        public String brand;
        @SerializedName("seller_title")
        public String seller_title;
        @SerializedName("title")
        public String title;
        @SerializedName("brand_story")
        public String brand_story;
        @SerializedName("logo")
        public String logo;
        @SerializedName("gmt_begin")
        public long gmt_begin;
        @SerializedName("gmt_end")
        public long gmt_end;
        @SerializedName("buying_info")
        public String buying_info;
        @SerializedName("promotion")
        public String promotion;
        @SerializedName("mj_promotion")
        public String mj_promotion;
        @SerializedName("mj_icon")
        public String mj_icon;
        @SerializedName("ms_items")
        public ArrayList<DressItems> ms_items;
        @SerializedName("stock")
        public int stock;
        @SerializedName("item_count")
        public int item_count;
        @SerializedName("main_img")
        public String main_img;

        @Override
        public String toString() {
            return "DressShow{" +
                    "bid=" + bid +
                    ", event_id=" + event_id +
                    ", brand='" + brand + '\'' +
                    ", seller_title='" + seller_title + '\'' +
                    ", title='" + title + '\'' +
                    ", brand_story='" + brand_story + '\'' +
                    ", logo='" + logo + '\'' +
                    ", gmt_begin=" + gmt_begin +
                    ", gmt_end=" + gmt_end +
                    ", buying_info='" + buying_info + '\'' +
                    ", promotion='" + promotion + '\'' +
                    ", mj_promotion='" + mj_promotion + '\'' +
                    ", mj_icon='" + mj_icon + '\'' +
                    ", ms_items=" + ms_items +
                    ", stock=" + stock +
                    ", item_count=" + item_count +
                    ", main_img='" + main_img + '\'' +
                    '}';
        }

        public static class DressItems {
            @SerializedName("img")
            public String img;
            @SerializedName("price")
            public int price;
            @SerializedName("price_ori")
            public int price_ori;
            @SerializedName("iid")
            public int iid;
        }
    }

}
